package com.example.library.bean;

import com.example.library.bean.model.Book;

public class BookDetail {

    private Book book;

    private BorrowInfo borrowInfo;

    private boolean collected; //true为已收藏 false为未收藏

    public Book getBook() {
        return book;
    }

    public void setBook(Book book) {
        this.book = book;
    }

    public BorrowInfo getBorrowInfo() {
        return borrowInfo;
    }

    public void setBorrowInfo(BorrowInfo borrowInfo) {
        this.borrowInfo = borrowInfo;
    }

    public boolean isCollected() {
        return collected;
    }

    public void setCollected(boolean collected) {
        this.collected = collected;
    }
}
